﻿@model NetworkCredential
@{
    ViewBag.Title = "Регистрация";
}
<div class="row">
    <div class="col-sm-6 col-md-4 col-md-offset-4">
        <h1 class="text-center login-title">Регистрация нового пользователя</h1>
        <div class="account-wall">
            @using (Html.BeginForm(null, null, FormMethod.Post, new { @class = "form-signin" }))
            {
                @Html.AntiForgeryToken()
                @Html.ValidationSummary(true)

                @Html.TextBoxFor(model => model.UserName, new { @class = "form-control", placeholder = "Email" })
                @Html.ValidationMessageFor(model => model.UserName)

                @Html.PasswordFor(model => model.Password, new { @class = "form-control", placeholder = "Password" })

                <button class="btn btn-lg btn-primary btn-block" type="submit">
                    Зарегистрироваться
                </button>
                <span class="clearfix"></span>
            }
        </div>
    </div>
</div>